package com.test.web.dao;

import com.test.web.entity.Version;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author heyanjing
 * date:2020-06-09 2020/6/9:22:54
 */
public interface VersionDao {

    int deleteByPrimaryKey(String versionId);

    int insert(Version record);

    int insertOrUpdate(Version record);

    int insertOrUpdateSelective(Version record);

    int insertSelective(Version record);

    Version selectByPrimaryKey(String versionId);

    int updateByPrimaryKeySelective(Version record);

    int updateByPrimaryKey(Version record);

    int updateBatch(List<Version> list);

    int batchInsert(@Param("list") List<Version> list);

}